package com.pactera.madp.cp.api.model.workcontact;


import com.pactera.madp.cp.api.em.workemployee.GenderEnum;
import com.pactera.madp.cp.api.model.workcontacttag.GetContactTapModel;
import lombok.Data;

import java.util.List;

/**
 * @author zhaojinjian
 * @ClassName GetContactInfoResponse.java
 * @Description TODO
 * @createTime 2020/12/2 16:34
 */
@Data
public class GetContactInfoResponse {
    private String  name;
    private Integer  gender;
    private String  genderText;
    private String  remark;
    private String  avatar;
    private List<GetContactTapModel> tag;

    private String  description;
    private String  businessNo;
    private String []  roomName;

    private String  lastContact;
    private String  contactTimes;
    private String []  employeeName;
    private Integer addWay;
    private String  addWAyText;
    private Integer type;
    private String typeText;

    public void setGenderText(String genderText) {
        this.genderText = GenderEnum.getMsgByCode(this.gender);
    }

}
